const router = require('koa-router')();
const con = require('../controller/con_fileOptions');
router.prefix('/fileOptions');

router.get('/download', con.download);
router.post('/findList', con.findList);
router.post('/deleteList', con.deleteList);
router.post('/updateList',con.updateList);
router.post('/findById',con.findById);
router.post('/deleteById',con.deleteById);
router.post('/updateById',con.updateById);
router.post('/changeIndex',con.changeIndex);
router.post('/newFolder',con.newFolder);

module.exports = router;